package com.example.demo.test.myThread;

public class ThreadTest1 implements Runnable {

    @Override
    public void run() {
        try {
            Thread.sleep(6000);
            System.out.println("1被执行");
        } catch (InterruptedException e) {
            System.out.println("1被终止了");
        }
    }
}
